class CreateReservations < ActiveRecord::Migration
  def self.up
    create_table :reservations do |t|
      t.column :name, :string
      t.column :phone_number, :string
      t.column :email, :string
      t.column :guests, :integer
      t.column :reserve_for, :datetime
      t.column :duration, :integer
      t.column :vehicle_type_id, :integer
      t.column :pickup_location, :string
      t.column :dropoff_location, :string
      t.column :quote, :boolean, :default => 0
      t.column :created_at, :datetime
    end
  end

  def self.down
    drop_table :reservations
  end
end
